package org.example.carsystem.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.carsystem.domain.SysDept;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.example.carsystem.domain.vo.DeptVo;

import java.util.List;


@Mapper
public interface DeptMapper extends BaseMapper<SysDept> {
    List<SysDept> findAll();

    List<DeptVo> deptSelectAll();

    Integer sysUploud(SysDept sysDept);

    Integer sysDelete(Long deptId);

    void sysinstr(SysDept sysDept);

    void batchInsert(List<SysDept> list);



}




